package com.yuyou.fn.educational.mapper;

import com.github.wens.mybatisplus.mapper.AutoMapper;
import com.yuyou.fn.educational.entity.DegreeSubscribe;
import com.yuyou.fn.educational.vo.CourseClassQueryVo;
import com.yuyou.fn.educational.vo.DegreeSubscribeDetailVo;
import com.yuyou.fn.educational.vo.DegreeSubscribeQueryVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 *
 * DegreeSubscribe 表数据库控制层接口
 *
 */
public interface DegreeSubscribeMapper extends AutoMapper<DegreeSubscribe,Long> {

    List<DegreeSubscribeDetailVo> findDegreeSubscribeList(@Param("degreeSubscribeQueryVo")DegreeSubscribeQueryVo degreeSubscribeQueryVo, @Param("courseClassQueryVo")CourseClassQueryVo courseClassQueryVo,@Param("begin")int begin,@Param("limit")int limit);

    Integer countDegreeSubscribe(@Param("degreeSubscribeQueryVo")DegreeSubscribeQueryVo degreeSubscribeQueryVo, @Param("courseClassQueryVo")CourseClassQueryVo courseClassQueryVo);
}